﻿package com.terrier.ui.skins.defaults
{
    import com.terrier.ui.skins.skinBaseClasses.WxScrollBarSkinBase;

    public class WxVScrollBarSkinDefault extends WxScrollBarSkinBase
    {
        public function WxVScrollBarSkinDefault()
        {
            super();

            _increaseButtonSkin = new IncreaseButtonSkin();
            _decreaseButtonSkin = new DecreaseButtonSkin();
            _trackSkin = new TrackSkin();
            _thumbSkin = new ThumbSkin();
			
			_width = _trackSkin.upBg.width;
        }
    }
}
import com.terrier.ui.skins.skinBaseClasses.WxButtonSkinBase;

class IncreaseButtonSkin extends WxButtonSkinBase
{
    public function IncreaseButtonSkin()
    {
        _upBg = new VScrollArrowDown_upSkin();
        _overBg = new VScrollArrowDown_overSkin();
        _downBg = new VScrollArrowDown_downSkin();
        _disabledBg = new VScrollArrowDown_disabledSkin();
    }
}

class DecreaseButtonSkin extends WxButtonSkinBase
{
    public function DecreaseButtonSkin()
    {
        _upBg = new VScrollArrowUp_upSkin();
        _overBg = new VScrollArrowUp_overSkin();
        _downBg = new VScrollArrowUp_downSkin();
        _disabledBg = new VScrollArrowUp_disabledSkin();
    }
}

class TrackSkin extends WxButtonSkinBase
{
    public function TrackSkin()
    {
        _upBg = new VScrollTrack_skin();
        _overBg = _upBg;
        _downBg = _upBg;
        _disabledBg = _upBg;
    }
}

class ThumbSkin extends WxButtonSkinBase
{
    public function ThumbSkin()
    {
        _upBg = new VScrollThumb_upSkin();
        _overBg = new VScrollThumb_overSkin();
        _downBg = new VScrollThumb_downSkin();
        _disabledBg = _upBg;
    }
}
